home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / workbench / directoryopus4 / dopus4_src / include / clib / dopus_protos.h < prev    next >
C/C++ Source or Header  |  2000-03-11  |  5KB  |  134 lines

  1. #ifndef  CLIB_DOPUS_PROTOS_H
  2. #define  CLIB_DOPUS_PROTOS_H
  3.  
  4. #ifndef  DOPUS_H
  5. #include <dopus/dopusbase.h>
  6. #endif
  7.  
  8. #ifndef INTUITION_INTUITION_H
  9. #include <intuition/intuition.h>
  10. #endif
  11.  
  12. #ifndef DOPUS_REQUESTERS_H
  13. #include <dopus/requesters.h>
  14. #endif
  15.  
  16. #ifndef DOPUS_CONFIG_H
  17. #include <dopus/config.h>
  18. #endif
  19.  
  20. #ifndef DOPUS_STRINGDATA_H
  21. #include <dopus/stringdata.h>
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. void ActivateStrGad(struct Gadget *,struct Window *);
  29. int AddGadgets(struct Window *,struct Gadget *,char **,int,int,int,int);
  30. int AddListView(struct DOpusListView *,int);
  31. int Assign(char *,char *);
  32. int Atoh(char *,int);
  33. char *BaseName(char *);
  34. void BtoCStr(BSTR,char *,int);
  35. int CheckExist(char *,int *);
  36. int CheckHexGad(struct Gadget *,struct Window *,int,int);
  37. int CheckNumGad(struct Gadget *,struct Window *,int,int);
  38. int CompareDate(struct DateStamp *,struct DateStamp *);
  39. int CompareLock(BPTR,BPTR);
  40. void Decode_RLE(char *source,char *dest,int size);
  41. void DisableGadget(struct Gadget *,struct RastPort *,int,int);
  42. void Do3DBox(struct RastPort *,int,int,int,int,int,int);
  43. void Do3DCycleBox(struct RastPort *,int,int,int,int,int,int);
  44. void Do3DFrame(struct RastPort *,int,int,int,int,char *,int,int);
  45. void Do3DStringBox(struct RastPort *,int,int,int,int,int,int);
  46. void DoArrow(struct RastPort *,int,int,int,int,int,int,int);
  47. void DoCycleGadget(struct Gadget *,struct Window *,char **,int);
  48. void DoGlassImage(struct RastPort *,struct Gadget *,int,int,int);
  49. int DoRMBGadget(struct RMBGadget *,struct Window *);
  50. int DoSimpleRequest(struct Window *,struct DOpusSimpleRequest *);
  51. void DrawCheckMark(struct RastPort *,int,int,int);
  52. void EnableGadget(struct Gadget *,struct RastPort *,int,int);
  53. int FileRequest(struct DOpusFileReq *);
  54. void FixSliderBody(struct Window *,struct Gadget *,int,int,int);
  55. void FixSliderPot(struct Window *,struct Gadget *,int,int,int,int);
  56. int GetSliderPos(struct Gadget *,int,int);
  57. void GetWBScreen(struct Screen *);
  58. void GhostGadget(struct Gadget *,struct RastPort *,int,int);
  59. void HiliteGad(struct Gadget *,struct RastPort *);
  60. void *LAllocRemember(struct DOpusRemember **,ULONG,ULONG);
  61. struct IORequest *LCreateExtIO(struct MsgPort *,int);
  62. struct MsgPort *LCreatePort(char *,int);
  63. void LDeleteExtIO(struct IORequest *);
  64. void LDeletePort(struct MsgPort *);
  65. void LFreeRemEntry(struct DOpusRemember **,char *);
  66. void LFreeRemember(struct DOpusRemember **);
  67. struct DOpusListView *ListViewIDCMP(struct DOpusListView *,struct IntuiMessage *);
  68. int LMatchPattern(char *,char *);
  69. int LMatchPatternI(char *,char *);
  70. void LParsePattern(char *,char *);
  71. void LParsePatternI(char *,char *);
  72. /*void LSprintf(char *,char *,...);*/
  73. void LStrCat(char *,char *);
  74. int LStrCmp(char *,char *);
  75. int LStrCmpI(char *,char *);
  76. void LStrCpy(char *,char *);
  77. void LStrnCat(char *,char *,int);
  78. int LStrnCmp(char *,char *,int);
  79. int LStrnCmpI(char *,char *,int);
  80. void LStrnCpy(char *,char *,int);
  81. char LToLower(char);
  82. char LToUpper(char);
  83. int PathName(BPTR,char *,int);
  84. int Random(int);
  85. int RawkeyToStr(USHORT,USHORT,char *,char *,int);
  86. int RefreshListView(struct DOpusListView *,int);
  87. void RefreshStrGad(struct Gadget *,struct Window *);
  88. int RemoveListView(struct DOpusListView *,int);
  89. int SearchPathList(char *,char *,int);
  90. void Seed(int);
  91. int SendPacket(struct MsgPort *,int,ULONG *,int);
  92. void SetBusyPointer(struct Window *);
  93. void ShowSlider(struct Window *,struct Gadget *);
  94. int StampToStr(struct DOpusDateTime *);
  95. int StrCombine(char *,char *,char *,int);
  96. int StrConcat(char *,char *,int);
  97. void StrToLower(char *,char *);
  98. int StrToStamp(struct DOpusDateTime *);
  99. void StrToUpper(char *,char *);
  100. int TackOn(char *,char *,int);
  101. void UScoreText(struct RastPort *,char *,int,int,int);
  102. struct Image *GetButtonImage(int,int,int,int,int,int,struct DOpusRemember **);
  103. void DrawRadioButton(struct RastPort *,int,int,int,int,int,int);
  104. struct Image *GetCheckImage(int,int,int,struct DOpusRemember **);
  105. struct Window *OpenRequester(struct RequesterBase *);
  106. void CloseRequester(struct RequesterBase *);
  107. APTR AddRequesterObject(struct RequesterBase *,struct TagItem *);
  108. void RefreshRequesterObject(struct RequesterBase *,struct RequesterObject *);
  109. void ObjectText(struct RequesterBase *,short,short,short,short,char *,unsigned short);
  110. void CreateGadgetBorders(struct DOpusRemember **,int,int,struct Border **,struct Border **,int,int,int);
  111. void AddGadgetBorders(struct DOpusRemember **,struct Gadget *,int,int,int);
  112. void SelectGadget(struct Window *,struct Gadget *);
  113. int FSSetMenuStrip(struct Window *,struct Menu *);
  114.  
  115. /* DOpus-private functions */
  116.  
  117. int ReadConfig(char *,struct ConfigStuff *);
  118. int SaveConfig(char *,struct ConfigStuff *);
  119. int DefaultConfig(struct ConfigStuff *);
  120. int GetDevices(struct ConfigStuff *);
  121. int AssignGadget(struct ConfigStuff *,int,int,char *,char *);
  122. int AssignMenu(struct ConfigStuff *,int,char *,char *);
  123. int FreeConfig(struct ConfigStuff *);
  124. int CheckConfig(struct ConfigStuff *);
  125. int FindSystemFile(char *,char *,int,int);
  126. int ReadStringFile(struct StringData *,char *);
  127. int FreeStringFile(struct StringData *);
  128.  
  129. #ifdef __cplusplus
  130. }
  131. #endif
  132.  
  133. #endif   /* CLIB_DOPUS_PROTOS_H */
  134.